<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        let array = [1, 2, 3]
        console.log(array.length);
        console.log("length" in array);
        console.log(1 in array);
        console.log(3 in array);
        let person = {
            name: "abc"
        }
        console.log("name" in person);
        console.log("age" in person);

        let str = new String("123456")
        console.log(str.length);
        console.log("length" in str);

        let date = new Date();
        console.log(date instanceof Date)
        console.log(str instanceof Date)
        console.log(str instanceof String)
    </script>
</body>

</html>